ExamPlay Light Logo
Oturum aç

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 11 - No. 22)

In the bubble sort example, what would the `Temperature[Index] <= Temperature[Index + 1]` represent?
Comparing temperatures to check for swap.
A loop ending condition.
Temperatures being sorted.
Determining if temperatures need to be reordered.

Açıklama

It compares values to determine if the adjacent ones need swapping.

Yorumlar (0)

Yorum yapmak için giriş yapın
Reklamcılık
BrainBehindX Inc Logo
©2026; Tarafından desteklenmektedir BrainBehindX Inc